.Net Framework > v2.0.50727 > System > Attribute > GetCustomAttribute GetCustomAttribute(Assembly,Type)
GetCustomAttribute(Assembly,Type,Boolean)
GetCustomAttribute(MemberInfo,Type)
GetCustomAttribute(MemberInfo,Type,Boolean)
GetCustomAttribute(Module,Type)
GetCustomAttribute(Module,Type,Boolean)
GetCustomAttribute(ParameterInfo,Type)
GetCustomAttribute(ParameterInfo,Type,Boolean)


GetCustomAttribute(Assembly,Type)

Category
Method
Description
Retrieves a custom attribute applied to an assembly. Parameters specify the assembly and the type of the custom attribute to search for.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementAssembly
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(Assembly,Type,Boolean)

Category
Method
Description
Retrieves a custom attribute applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementAssembly
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(MemberInfo,Type)

Category
Method
Description
Retrieves a custom attribute applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementMemberInfo
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(MemberInfo,Type,Boolean)

Category
Method
Description
Retrieves a custom attribute applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementMemberInfo
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(Module,Type)

Category
Method
Description
Retrieves a custom attribute applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementModule
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(Module,Type,Boolean)

Category
Method
Description
Retrieves a custom attribute applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementModule
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(ParameterInfo,Type)

Category
Method
Description
Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementParameterInfo
attributeTypeType
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetCustomAttribute(ParameterInfo,Type,Boolean)

Category
Method
Description
Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
Type
Attribute
Character
public, static
Parameters
NameTypeDescription
elementParameterInfo
attributeTypeType
inheritBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database